﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;

namespace MYData.Entity.DomainModels
{
    public class Project_BeseInfoOutputDto
    {
        [Display(Name = "项目主键")]
        [MaxLength(64)]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string projectId { get; set; }

        /// <summary>
        ///项目名称
        /// </summary>
        [Display(Name = "项目名称")]
        [MaxLength(255)]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string projectName { get; set; }

        /// <summary>
        ///项目编号
        /// </summary>
        [Display(Name = "项目编号")]
        [MaxLength(255)]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string projectNumber { get; set; }

        /// <summary>
        ///项目承担单位
        /// </summary>
        [Display(Name = "项目承担单位")]
        [MaxLength(255)]
        [Editable(true)]
        public string projectUndertakeunit { get; set; }

        /// <summary>
        ///负责人
        /// </summary>
        [Display(Name = "负责人")]
        [MaxLength(255)]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string projectPerson { get; set; }

        /// <summary>
        ///专项经费(万元)
        /// </summary>
        [Display(Name = "专项经费(万元)")]
        [DisplayFormat(DataFormatString = "10,2")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public decimal specialMoney { get; set; }

        /// <summary>
        ///配套经费(万元)
        /// </summary>
        [Display(Name = "配套经费(万元)")]
        [DisplayFormat(DataFormatString = "10,2")]
        [Editable(true)]
        public decimal? supportMoney { get; set; }


    }
}
